package com.mx.service;

import com.mx.pojo.Article;
import org.springframework.stereotype.Service;

import java.util.List;

public interface ArticleService {
    List<Article> findAll();

    Article findId(int id);

    int save(Article article);

    int delete(int id);

    int update(Article article);
}
